package is.ru.honn.rupin.data;

import is.ruframework.data.RuDataAccess;
import is.ru.honn.rupin.domain.Board;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: gmatt
 * Date: 20.10.2012
 * Time: 02:04
 *
 * A gateway into persistent data storage for boards
 */
public interface BoardDataGateway extends RuDataAccess{
    public void add(Board board);
    public List<Board> getBoardsByUsername(String username);
    Board getBoard(String boardname, String username);
}
